<!DOCTYPE html>
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width">
        <script src="avalon.js"></script>
        <script>

            avalon.define("test", function(vm) {
                vm.arr = [{src: "xxxx"}, {src: "yyyy"}]
                vm.fn = function(a) {
                    return a.toUpperCase()
                }
                vm.src = 'hhhhh'
            })

        </script>
    </head>
    <body ms-controller="test">
        大写 {{fn(src)}} 
        <br/>
        <div ms-repeat-a='arr'>
            小写 {{a.src}} 大写 {{fn(a.src)}} {{a.src|uppercase}} 
        </div>
    </body>
</html>
